package collector;

import java.util.List;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
@Repository
public class NetCollector implements Collector,BeanNameAware{
	private String cname;
	private List<String> favs;
	
	
	public NetCollector() {
		System.out.println("net contructor...");
	}
	public NetCollector(String cname,boolean sex) {
		super();
		
		this.cname = cname;
		System.out.println("cname:"+cname);
	}


	public List<String> getFavs() {
		return favs;
	}


	public void setFavs(List<String> favs) {
		this.favs = favs;
	}


	public String getCname() {
		return cname;
	}
	
	
	public void setCname(String cname) {
		this.cname = cname;
	}
	
	public void collect() {
		System.out.println("Net collect....");
		
	}
	public void init(){
		System.out.println("Net collector init...");
	}

	
	public void setBeanName(String name) {
		System.out.println(name+"..............");
		
	}

}












